<html>
<head>
	<title></title>
</head>
<body>
	<div class="layout" style="width: 400px; margin: 20% auto; font-family: DroidSans; color: green; font-size: 30px;">
		Welcome <?php echo $this->LoginInfo->GetUserInfo('nama_lengkap')?>
	</div>
</body>
</html>

<script type="text/javascript">
// IF NOT INSIDE IFRAME
if( self == top )
{
	document.location = '<?php echo base_url()?>';
}
else
{
	var ParentWindow = window.parent;
	var pjq = ParentWindow.jQuery;
	
	if(pjq('#AppLoad').text().replace(/\s/,'') == 'Welcome' ){
		console.log(pjq('#AppLoad').text() + 'IS HERE');
		ParentWindow.location.reload();
	}
	
	// pjq(".ui-layout-west").show();

	// pjq('a.homepage-ln').removeClass('center');
	// pjq(".ui-layout-toggler.ui-layout-toggler-west").click();

	// console.log(ParentWindow);
}
</script>